import { Game } from "./core/Game";
import { GamePageViewer } from "./core/viewer/GamePageViewer";
import $ from "jquery"

const g = new Game(new GamePageViewer());

$("#start").click(() => {
  g.start();
});

$("#pause").click(() => {
  g.pause();
});

$("#btnDown").click(() => {
  g.control_down();
});

$("#btnLeft").click(() => {
  g.control_left();
});

$("#btnRight").click(() => {
  g.control_right();
});

$("#btnRotate").click(() => {
  g.control_rotate();
});
